package com.daxia.ogmall.dto;

import java.util.List;

import com.daxia.ogmall.model.ProductCategory;

public class CategoryAndProductDTO {
	private ProductCategory category;
	private List<ProductCategory> children;
	private List<ProductDTO> products;
	private List<AdDTO> adds;   //广告内容
	private List<AdDTO> upAds;   //上层横幅广告

	public List<ProductDTO> getProducts() {
		return products;
	}

	public void setProducts(List<ProductDTO> products) {
		this.products = products;
	}

	public ProductCategory getCategory() {
		return category;
	}

	public void setCategory(ProductCategory category) {
		this.category = category;
	}

	public List<ProductCategory> getChildren() {
		return children;
	}

	public void setChildren(List<ProductCategory> children) {
		this.children = children;
	}

	public List<AdDTO> getAdds() {
		return adds;
	}

	public void setAdds(List<AdDTO> adds) {
		this.adds = adds;
	}

	public List<AdDTO> getUpAds() {
		return upAds;
	}

	public void setUpAds(List<AdDTO> upAds) {
		this.upAds = upAds;
	}
}
